<!DOCTYPE html>
<html>
<head>
    <% include ../common/public.ejs %>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>开业有礼</title>
    <style>
        body {
            background: #fca714;
        }

        div.header {
            height: 200px;
            background: url(<%= global.config.path.publicPath %>/custom/images/prize/headerBg.png);
            background-size: 100%;
            padding: 20px 30px;
            color: #060606;
        }
        div.header .border {
            background: #ffffff;
            padding: 15px;
            height: 170px;
        }
        div.header .border .block {
            border: 1px solid;
            height: 100%;
            padding: 0 20px;
            position: relative;
        }
        div.header .border .block .headerIcon {
            position: absolute;
            width: 40%;
            right: 10px;
            bottom: 10px;
        }
        div.header .border .block span.title {
            font-size: 30px;
            font-weight: 700;
            display: inline-block;
            margin-left: -5px;
        }
        div.header .border .block span.title .text-decoration {
            height: 8px;
            background: #fca714;
            width: 100%;
            margin-top: -15px;

        }
        div.header .border .block h3 {
            margin-bottom: 10px;
            margin-top: -5px;
        }
        div.header .border .block .info {
            font-size: 12px;

        }
        div.header .border .block button {
            padding: 5px 10px 5px 30px;
            border: 0;
            border-radius: 15px;
            color: #ffffff;
            font-size: 14px;
            background: url(<%= global.config.path.publicPath %>/custom/images/prize/headerButton.png) no-repeat 8px 7px #fca714;
            margin-top: 3px;
            cursor: pointer;
        }


        h1.title {
            font-size: 14px;
            text-align: center;
            font-weight: 400;
            margin-top: 20px;
            color: #060606;
        }

        .card {
            margin: 10px auto;
            width: 90%;
            background: url(<%= global.config.path.publicPath %>/custom/images/prize/couponBg.png);
            border-radius: 10px;
            height: 80px;
            color: #060606;
            position: relative;
        }

        .card:before, .card:after {
            content: '';
            display: block;
            position: absolute;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #fca714;
            right: 26%;
        }

        .card:before {
            top: -7px;
        }

        .card:after {
            bottom: -7px;
        }

        .card .info {
            display: flex;
            vertical-align: middle;
            font-size: 14px;
        }

        .card .info > div {
            align-self: center;
            height: 80px;
        }

        .card .info .price {
            width: 26%;
            background: #ffffff;
            border-radius: 10px 0 0 10px;
            text-align: center;
            line-height: 80px;
            font-size: 20px;
            font-weight: 700;
        }

        .card .info .price span {
            font-size: 30px;
            line-height: 40px;
        }

        .card .info .name {
            width: 46%;
        }

        .card .info .name .couponName {
            font-size: 20px;
            line-height: 36px;
            text-align: center;
            margin-top: 10px;
        }

        .card .info .name .couponInfo {
            font-size: 10px;
            text-align: center;
        }

        .card .info .button {
            text-align: center;
            width: 28%;
            border-left: 2px dashed #fca714;
        }

        .card .info .button button {
            color: rgb(255, 255, 255);
            background-color: rgb(229, 28, 35);
            border-radius: 20px;
            border: 0;
            text-align: center;
            padding: 2px 5px;
            cursor: pointer;
            margin-top: 5px;
            font-size: 14px;
        }

        .card .info .button .buttonInfo {
            margin-top: 10px;
            font-size: 10px;
            text-align: center;
        }

        .card .info .button .buttonInfo.buttonRemark {
            margin-top: 0;
            font-weight: 700;
        }
    </style>
</head>
<body>
<div id="container">
    <a href="<%= global.config.path.contextPath %>/view/giftInfo?openId=<%= userData.openid %>&publicId=<%= body.publicId %>&orgCode=<%= body.orgCode %>&cardCode=<%= userData.cardCode %>">
        <div class="header">
            <div class="border">
                <div class="block">
                    <span class="title">&nbsp;新会员88元&nbsp;<div class="text-decoration"></div></span>
                    <h3>大礼包</h3>
                    <div class="info">限时领取：</div>
                    <div class="info" id="date">&nbsp;</div>
                    <button>点我使用</button>
                    <img src="<%= global.config.path.publicPath %>/custom/images/prize/headerIcon.png" class="headerIcon" />
                </div>
            </div>
        </div>
    </a>
    <h1 class="title">- 优惠券仅限苏州绿宝店使用 -</h1>

    <div class="weui-tab__bd">
        <div class="weui-tab__bd-item weui-tab__bd-item--active" id="couponList">
            <!--<div class="card">-->
            <!--<div class="info">-->
            <!--<div class="price">-->
            <!--<span>5</span>元-->
            <!--</div>-->
            <!--<div class="name">-->
            <!--<div class="couponName">帽子类</div>-->
            <!--<div class="couponInfo">（使用时间：18.9.28-9.30）</div>-->
            <!--</div>-->
            <!--<div class="button">-->
            <!--<div class="buttonInfo">单笔正价消费</div>-->
            <!--<div class="buttonInfo buttonRemark">满68元即可抵用</div>-->
            <!--<button>立即领取</button>-->
            <!--</div>-->
            <!--</div>-->
            <!--</div>-->
        </div>
    </div>
</div>

<% include ../common/footer.ejs %>
</body>
</html>
